package edu.xust.entity;

import java.io.Serializable;

public class PostServiceBean implements Serializable {
    private int pid;
    private String principal;
    private String reason;

    @Override
    public String toString() {
        return "PostServiceBean{" +
                "pid=" + pid +
                ", principal='" + principal + '\'' +
                ", reason='" + reason + '\'' +
                '}';
    }

    public PostServiceBean() {
    }

    public PostServiceBean(int pid, String principal, String reason) {
        this.pid = pid;
        this.principal = principal;
        this.reason = reason;
    }

    public int getPid() {

        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
